package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * Created by renzhikun on 18-6-13.
 */
@TableName("base_log")
public class BaseLog extends CommonVo implements Serializable {
    private static final long serialVersionUID = -4644792736934290371L;

    /**
     * 日志ID
     */
    @TableId(value = "log_id", type = IdType.AUTO)
    private Long logId;
    /** 业务日志类型（1：修改 2：删除） */
    @TableField("log_type")
    private Integer logType;
    /** 运单编号 */
    @TableField("ewb_no")
    private String ewbNo;
    /** 表名称 */
    @TableField("table_name")
    private String tableName;
    /** 数据流水号 */
    @TableField("data_id")
    private Long dataId;
    /** 字段名称 */
    @TableField("field_name")
    private String fieldName;
    /** 变更项名称**/
    @TableField("data_name")
    private String dataName;
    /** 原值 */
    @TableField("original_value")
    private String originalValue;
    /** 修改值*/
    @TableField("modified_value")
    private String modifiedValue;
    /** 网点 */
    @TableField("site")
    private Long site;
    /** 模块名称 **/
    @TableField("log_module")
    private String logModule;

    /** 变更人所属网点 **/
    private String siteName;
    /** 变更人姓名 **/
    private String createName;

    private String startTime;

    private String endTime;

    private String[] strs;

    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public Integer getLogType() {
        return logType;
    }

    public void setLogType(Integer logType) {
        this.logType = logType;
    }

    public String getEwbNo() {
        return ewbNo;
    }

    public void setEwbNo(String ewbNo) {
        this.ewbNo = ewbNo;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public Long getDataId() {
        return dataId;
    }

    public void setDataId(Long dataId) {
        this.dataId = dataId;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getDataName() {
        return dataName;
    }

    public void setDataName(String dataName) {
        this.dataName = dataName;
    }

    public String getOriginalValue() {
        return originalValue;
    }

    public void setOriginalValue(String originalValue) {
        this.originalValue = originalValue;
    }

    public String getModifiedValue() {
        return modifiedValue;
    }

    public void setModifiedValue(String modifiedValue) {
        this.modifiedValue = modifiedValue;
    }

    public Long getSite() {
        return site;
    }

    public void setSite(Long site) {
        this.site = site;
    }

    public String getLogModule() {
        return logModule;
    }

    public void setLogModule(String logModule) {
        this.logModule = logModule;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String[] getStrs() {
        return strs;
    }

    public void setStrs(String[] strs) {
        this.strs = strs;
    }
}
